package cqut.wys;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Hello world!
 * 启动Spring Cloud服务
 */
@EnableDiscoveryClient
@SpringBootApplication
public class ComputeServiceApplication
{
    public static void main( String[] args )
    {
        new SpringApplicationBuilder(ComputeServiceApplication.class).web(true).run(args);
        System.out.println( "Hello World!" );
    }
}
